package adapter.interfaces;

public class Test {

	public static void main(String[] args) {
		
		Adapter adapter = new Adapter(){
			@Override
			public void method1() {
				System.out.println("只需要method1");
			}
		};
		adapter.method1();
	}

}
